package cn.ticket.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import cn.ticket.model.Authuser;
@Repository 
@Transactional
public interface AuthuserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Authuser record);

    int insertSelective(Authuser record);

    Authuser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Authuser record);

    int updateByPrimaryKey(Authuser record);
    
    List<Authuser> selectByUsernameAndPassword(@Param("username")String username,@Param("password")String password);
}